cmake_minimum_required(VERSION 3.8)
project(string_find)
string(FIND "Hello World! Hello CMake!" "Hello" var1)
message(STATUS "var1 = ${var1}")
string(FIND "Hello World! Hello CMake!" "Hello" var2 REVERSE)
message(STATUS "var2 = ${var2}")
string(FIND "Hello World! Hello CMake!" "Fox" var3)
message(STATUS "var3 = ${var3}")

